#!/bin/sh -f

PIDFILE="/var/run/trac.pid"
PID=0
[ -f ${PIDFILE} ] && PID=`awk '{ print $0; }' ${PIDFILE}`
[ -f 

chroot -u www /var/www /htdocs/trac/cgi-bin/trac.fcgi &
if [ $? -eq 0 ]; then
   /usr/sbin/nginx -t
   if [ $? -eq 0 ]; then
      /etc/rc.d/nginx start
   fi
fi
